package com.doit.demo03;

import java.util.concurrent.Callable;

public class Myspilt implements Callable<String[]> {
    private String s;

    public Myspilt(String s) {
        this.s = s;
    }

    @Override
    public String[] call() throws Exception {
        System.out.print(Thread.currentThread().getName()+"  ");
        return s.split(" ");
    }
}
